Skip to content

Added option to hide dataModules behind embedded image#173

Open
SeriousMonk wants to merge 1 commit intotheyakka:masterfrom
SeriousMonk:master
Open

Added option to hide dataModules behind embedded image#173
SeriousMonk wants to merge 1 commit intotheyakka:masterfrom
SeriousMonk:master

Conversation

@SeriousMonk
Copy link

I added the

showDataModulesBehindEmbeddedImage

attribute to QrPainter. It defaults to true so the behavior doesn't change.

If set to false, however, it doesn't paint the dataModules that overlap the embedded Image. This allows users to leave a transparent padding around their embedded images (eg. useful for logos etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant